<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_webroot('skin/css/admin.css'); ?>">
<link rel="stylesheet" type="text/css" href="<?php echo $this->_webroot('skin/css/main.css'); ?>">

<script language="JavaScript" src="<?php echo $this->_webroot('skin/js/jy.js'); ?>"></script>
<style>
td span {color:red;}
.green {color:green;}
.red {color:red;}
</style>
</head>
<body>
<input type="hidden" id="update_right" value="1" ></input>
<div id="maincontent">
<psp:tags     htmlname='messagebox'  iconname='messagebox' />
	<div class="wrap">
    <div class="crumbs">当前位置&gt;&gt; 商铺管理 &gt;&gt;信用等级	</div>
        <hr />

	
		
	<div class="infobox">
   <h3>商铺信用等级	<span class="right">
		<a href="<?php echo $this->_url('admin/integral/add');?>">添加信用等级</a>
	</span></h3>
    <div class="content2">

		<table class="list_table">
			<thead>
                <tr style="text-align:center;">
					<th>级别</th>
					<th>最小信用</th>
					<th>最大信用</th>
					<th>级别图显</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
			<?php if($integral) {
				foreach($integral as $val) { $val =$val['integral']; ?>
			<tr style="text-align:center;">
				<td><?php echo $val['int_grade'];?></td>
				<td><?php echo $val['int_min']?></td>
				<td><?php echo $val['int_max']?></td>
				<td><img src="<?php echo $val['int_img']?>" /></td>
				<td><a href="<?php echo $this->_url('admin/integral/edit/'.$val['id']);?>">修改</a> | 
					<a href="<?php echo $this->_url('admin/integral/del/'.$val['id']);?>">删除</a>
				</td>
			</tr>
				<?php }?>
			<tr><td colspan="4">&nbsp;&nbsp;注意：信用值在填写时，后面的信用值不能小于前面的信用值</td></tr>
			<?php }?>
			</tbody>
		</table>
	

	  </div>
	 </div>
	</div>
</div>

</body>
</html>